<template>
  <a-steps :current="current" @change="onChange">
    <slot />
  </a-steps>
</template>

<script>
export default {
  name: 'DSteps',
  props: {
    current: {
      type: Number
    }
  },
  methods: {
    onChange(e) {
      this.$emit('change', e);
    }
  }
};
</script>

<style lang="scss" scoped></style>
